import { createApp } from 'vue';
import App from '@/App.vue';
import plugins from '@/plugins';
import 'ant-design-vue/dist/antd.variable.less';

const app = createApp(App).use(plugins);

app.config.errorHandler = (err: any) => {
  console.error('app.config.errorHandler() >>> err =', err);
  if (err && err.location) {
    console.error('app.config.errorHandler() >>> err.location = ', err.location);
  }
};

app.mount('#app');
